<?php

declare(strict_types=1);
/**
 * This file is part of bearing-web.
 *
 * @link     https://www.bearing.cn/
 * @contact  tech@bearing.cn
 * @license  https://gitee.com/cppo/bearing_web/-/blob/master/README.md
 */

namespace frontend\controllers;

use yii\helpers\ArrayHelper;

class MessagesController extends BaseController
{
    public $modelClass = 'common\models\UserMessageModel';


    public function actions(): array
    {
        return ArrayHelper::merge(
            parent::actions(),
            [
                'create' => [
                    'class' => 'frontend\actions\MessageCreateAction',
                ],
            ]
        );
    }
}
